﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UCDangKy.ascx.cs" Inherits="UserControl_UCDangKy" %>
<div class="SignHeader">
    <h5>
        Đăng ký thành viên</h5>
</div>
<div class="Sign">
    <table>
        <tr>
            <td colspan="3">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td>
                Email
            </td>
            <td>
                :
                <asp:TextBox ID="txtEmail" runat="server" Width="250px"></asp:TextBox>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtEmail"
                    ErrorMessage="Cần nhập email!">*</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                    ErrorMessage="Email Không đúng!" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td>
                Tên đăng nhập
            </td>
            <td>
                :
                <asp:TextBox ID="txtDangNhap" runat="server" Width="150px"></asp:TextBox>
                <asp:Label ID="lbThongBaotdn" runat="server" Text="(Phải Từ 10-&gt;50 ký tự)" ForeColor="Red"></asp:Label>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtDangNhap"
                    ErrorMessage="Tên đăng nhập không thể thiếu!">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Mật khẩu
            </td>
            <td>
                :
                <asp:TextBox ID="txtMatKhau" runat="server" Width="150px" TextMode="Password"></asp:TextBox>
                <asp:Label ID="lbThongBaotPass" runat="server" Text="(Phải Từ 10-&gt;50 ký tự)" ForeColor="Red"></asp:Label>
            </td>
            <td>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtMatKhau"
                    ErrorMessage="Mật khẩu không được bỏ trống!">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Nhập lại mật khẩu
            </td>
            <td>
                :
                <asp:TextBox ID="txtNhapLaiMatKhau" runat="server" Width="150px" TextMode="Password"></asp:TextBox>
                <asp:Label ID="lbnhaplai" runat="server" Text="*" ForeColor="Red"></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td colspan="2">
                &nbsp;
                <asp:Button ID="btnDangKy" runat="server" Text="Đăng ký" CssClass="btn" OnClick="btnDangKy_Click" />
            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td colspan="2">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" CssClass="Ex" />
                <asp:Label ID="lbThongBaoDangKy" runat="server" ForeColor="Red" Text="*" Visible="False"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="3">
                &nbsp;
            </td>
        </tr>
    </table>
</div>
<div class="SignImg">
</div>
